package com.chb.dao;

import java.util.List;

import com.chb.entity.Warehouse;

public interface WarehouseMapper {
	//查询所有仓库信息
	public List<Warehouse> selectAllWarehouses();
	//根据id仓库信息
	public Warehouse selectWarehouse(Integer id);
	//根据货物名称查询
	public List<Warehouse> selectWarehouses(String cargoname);
	//修改货物信息
	public boolean updateWarehouse(Warehouse warehouse);
	//删除货物信息
	public boolean deleteWarehouse(Warehouse warehouse);
	//出库操作
	
}
